package com.boot.security.controller;

import com.boot.persistence.controller.association.AssociationControllerImpl;
import com.boot.security.model.po.Access;
import com.boot.security.model.po.User;
import com.boot.security.model.po.UserAccess;
import com.boot.security.service.database.UserAccessService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Validator;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @date 2021/03/07 15:07
 **/

@RestController
@RequestMapping("/user-access")
@Api("用户-权限接口")
public class UserAccessController extends AssociationControllerImpl<Long, Long, Long, UserAccess, User, Access, UserAccessService> {

    public UserAccessController(UserAccessService service, Validator validator) {
        super(service, validator);
    }
}
